package com.xfhy.componentbase.empty_service;

import android.app.Activity;

import com.xfhy.componentbase.service.IAccountService;

import androidx.fragment.app.Fragment;
import androidx.fragment.app.FragmentManager;

/**
 * @author : xfhy
 * Create time : 2020-03-01 11:16
 * Description : 对应账户组件Service的空实现,在组件单独调试和继承调试时避免出现实现类对象为空引起的空指针异常
 */
public class EmptyAccountService implements IAccountService {
    @Override
    public boolean isLogin() {
        return false;
    }

    @Override
    public String getAccountId() {
        return null;
    }

    @Override
    public Fragment newUserFragment(Activity activity, int containerId, FragmentManager fragmentManager) {
        return null;
    }
}
